From: Keir Fraser Date: Tue, 15 Jun 2010 12:24:11 +0000 (+0100) Subject: x86: fix guest wrmsr warning format X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~11921 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=cc87cdbd8331f5bf171478df3e51f724c6dd1d5f;p=xen.git x86: fix guest wrmsr warning format During the recent MSR handling cleanup, the '0' format modifier got lost. Signed-off-by: Jan Beulich --- diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c index 1d833beff6..5acf749b0d 100644 --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -2297,7 +2297,7 @@ static int emulate_privileged_op(struct cpu_user_regs *regs) (eax != (uint32_t)val) || (edx != (uint32_t)(val >> 32)) ) invalid: gdprintk(XENLOG_WARNING, "Domain attempted WRMSR %p from " - "0x%16"PRIx64" to 0x%16"PRIx64".\n", + "0x%016"PRIx64" to 0x%016"PRIx64".\n", _p(regs->ecx), val, msr_content); break; }